package com.rpframework.website.friendly.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 
 * @author zhangli
 *	新闻中心
 */
@TableMapperAnnotation(tableName = "t_news", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class News extends Domain{

		private static final long serialVersionUID = 1L;
		
		@FieldMapperAnnotation
		Integer id;
		/**
		 * 图片地址
		 */
		@FieldMapperAnnotation
		String urlList;
		/**
		 * 名称
		 */
		@FieldMapperAnnotation
		String name;
		/**
		 * 标题
		 */
		@FieldMapperAnnotation
		String title;
		/**
		 * 简介 
		 */
		@FieldMapperAnnotation
		String production;
		/**
		 * 新闻发布时间
		 */
		@FieldMapperAnnotation
		String publishTime;
		/**
		 * 创建时间
		 */
		@FieldMapperAnnotation
		Long createTime;
		/**
		 * 类型
		 */
		@FieldMapperAnnotation
		Integer type;
		/**
		 * 状态 1正常 2禁用
		 */
		@FieldMapperAnnotation
		Integer state;
		
		
		public Integer getId() {
			return id;
		}
		public void setId(Integer id) {
			this.id = id;
		}
		public String getUrlList() {
			return urlList;
		}
		public void setUrlList(String urlList) {
			this.urlList = urlList;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getProduction() {
			return production;
		}
		public void setProduction(String production) {
			this.production = production;
		}
		public Long getCreateTime() {
			return createTime;
		}
		public void setCreateTime(Long createTime) {
			this.createTime = createTime;
		}
		public Integer getType() {
			return type;
		}
		public void setType(Integer type) {
			this.type = type;
		}
		public Integer getState() {
			return state;
		}
		public void setState(Integer state) {
			this.state = state;
		}
		public String getPublishTime() {
			return publishTime;
		}
		public void setPublishTime(String publishTime) {
			this.publishTime = publishTime;
		}
		
}
